package com.lkd.contract;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author brianxia
 * @version 1.0
 * @date 2022-12-03 14:09
 */
@NoArgsConstructor
@Data
public class VmStatusContract109 {


    /**
     * innerCode : 01000001
     * statusInfo : [{"statusCode":"1001","status":false}]
     */

    @JsonProperty("innerCode")
    private String innerCode;
    @JsonProperty("statusInfo")
    private List<StatusInfoDTO> statusInfo;

    @NoArgsConstructor
    @Data
    public static class StatusInfoDTO {
        /**
         * statusCode : 1001
         * status : false
         */

        @JsonProperty("statusCode")
        private String statusCode;
        @JsonProperty("status")
        private Boolean status;
    }
}
